package com.wiscamp.ninechapters.problems.domain.models.collections;

import cube.ddd.domain.Entity;
import lombok.Data;

import java.io.Serial;

/**
 * 题集问题关联
 */
@Data
public class CollectionProblem implements Entity {
    @Serial
    private static final long serialVersionUID = 9128851708488862627L;

    /**
     * 自动编号
     */
    private long id = 0;

    /**
     * 题集编号
     */
    private long collectionId = 0;

    /**
     * 试卷部分编号
     */
    private long partId = 0;

    /**
     * 试卷节编号
     */
    private long sectionId = 0;

    /**
     * 问题编号
     */
    private long problemId = 0;

    /**
     * 题序号
     */
    private int problemIndex = 0;

}
